<?php
/*
 *author:Yangligao
 *Date:2013-10-3
 */
class FormModel{
	
	private $tableName = 'form';
	
	function form_insert($arr){
		return Db::insert($this->tableName, $arr);
	}
	
	function form_update($order){
		$sql = "update form set form_flag=1 where form_identy='{$order}'";
		return Db::query($sql);
	}
	
	function form_select($columList="*", $where='',$limit='',$order='',$group=''){
		return Db::select($this->tableName, $columList, $where,$limit,$order,$group);
	}
}

?>
